<!DOCTYPE HTML>
<html>
<body>
<fieldset style="overflow:hidden; height:300px;">
  <legend style="position:sticky; top:0;"><div style="width:200px; height:50px; background:yellow;"></div></legend>
</fieldset>
<div style="height:5000px;"></div>
<script>
window.scrollTo(0,100);
</script>
</body>
</html>
